<template>
	<view class="menu-container">
		<view class="menu-left">
			<u-icon :name="iconName" size="24"></u-icon>
			<view class="menuName">{{ meunName }}</view>
		</view>
		<view class="menu-right">
			<u-icon name="arrow-right" size="20"></u-icon>
		</view>
	</view>
</template>

<script>
	export default {
		name:"subMenu",
		data() {
			return {
				
			};
		},
		props: {
			meunName: {
				type: String,
				required: true,
				default: ''
			},
			iconName: {
				type: String,
				required: true,
				default: ''
			}
		}
	}
</script>

<style lang="scss">
.menu-container{
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20rpx;
	height: 50rpx;
	border-bottom: 1px solid #E7E9EE;
	.menu-left{
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
}
	.menuName{
		margin-left: 10rpx;
	}
</style>